package com.ruoyi.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;

/**
 * 司机行驶证信息视图对象 driver_driving_license
 *
 * @author ruoyi
 * @date 2024-04-20
 */
@Data
@ExcelIgnoreUnannotated
public class DriverDrivingLicenseVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 行驶证id
     */
    @ExcelProperty(value = "行驶证id")
    private Long id;

    /**
     * 账号id(当前)
     */
    @ExcelProperty(value = "账号id(当前)")
    private Long relevanceUserId;

    /**
     * 车牌颜色
     */
    @ExcelProperty(value = "车牌颜色")
    private String licencePlateColor;

    /**
     * 车牌号码
     */
    @ExcelProperty(value = "车牌号码")
    private String licencePlateNumber;

    /**
     * 车辆注册日期
     */
    @ExcelProperty(value = "车辆注册日期")
    private String licencePlateDate;

    /**
     * 证件照(01正面)
     */
    @ExcelProperty(value = "证件照(01正面)")
    private String url01;

    /**
     * 证件照(02反面)
     */
    @ExcelProperty(value = "证件照(02反面)")
    private String url02;

    /**
     * 车辆照(03正面)
     */
    @ExcelProperty(value = "车辆照(03正面)")
    private String url03;

    /**
     * 车辆照(04侧面)
     */
    @ExcelProperty(value = "车辆照(04侧面)")
    private String url04;

    /**
     * 车辆照(05后面)
     */
    @ExcelProperty(value = "车辆照(05后面)")
    private String url05;

    /**
     * 其他参数
     */
    @ExcelProperty(value = "其他参数")
    private String elseParams;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ExcelProperty(value = "删除标志", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表存在,1=代表删除")
    private Integer isDeleted;


}
